<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<HEAD>
     <TITLE>Del</TITLE>
     <link rel="stylesheet" type="text/css" href="../../../ss/2.css" id="thecss">
     <script type="text/javascript" src="../../../scripts/csschange.js"></script>
</HEAD>

<BODY onload="readSS()">

<br>
<center>
<table border=3 cellpadding=5 cellspacing=0>
<tr>
     <td><h1 class="pagetitle">Deleted Text</h1>
         <b><a href="../../../misc/suppkey.htm">Support Key:</a></b> 
         [<span class="ns">2</span>|<b><i class="fs">3</i></b>|<span class="ns">3.2</span>|<b class="s">4</b>]
         [<b class="s">X1</b>|<b class="s">X1.1</b>]
         [<b><i class="fs">IE4</i></b>|<span class="ns">M</span>|<b class="s">N6B1</b>|<b class="s">O4</b>]</td>
     <td><a href="#what">What is it?</a><br>
         <a href="#attrib">Attributes</a><br>
         <a href="#example">Tag Example</a>
     </td>
     <td><a href="#model">Parent/Content Model</a><br>
         <a href="#tips">Tips &amp; Tricks</a><br>
         <a href="#peculiar">Browser Peculiarities</a></td>
</tr>
<tr><td align=center colspan=3>
<font size=2>= <span class="sitetitle">Index DOT Html</span> by <a href="../../../misc/email.htm">Brian Wilson</a> =</font>
</td></tr>
</table>

<font size=2>
     <a href="../../index.html">Main Index</a> |
     <a href="../../tree/htmltree.htm">Element Tree</a> |
     <a href="../../tagindex/a.htm">Element Index</a> |
     <a href="../../supportkey/a.htm">HTML Support History</a></font>
</center>
<hr align="center" width="25%">

<br><br>
<table border=1 cellspacing=0 cellpadding=5>
<tr><td>
<table border=0 cellspacing=0>
<tr>
   <th colspan=3 valign=bottom class="field"><big><u><b
       class="colheaders">&#160;&#160;&#160;Quick Statistics&#160;&#160;&#160;</b></u></big><br></th>
</tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#et">End Tag:</a></b><br></th>
    <td rowspan=7>&nbsp;&nbsp;</td>
    <td><span class="magicword">Required</span></td></tr>
<tr><th align=left valign=top><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b><br></th>
    <td>HTML: In all 4.x DTDs<br>XHTML: In all 1.0 and 1.1 DTDs</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#xhtm">XHTML Modules:</a></b><br></th>
    <td><b class=alert>Edit</b></td></tr>
<tr><th align=left valign=top><b class="l3heading"><a href="../stats.htm#disp">CSS 'display' Type:</a></b><br></th>
    <td>"<b class="alert">inline</b>"</td></tr>
<tr><th align=left valign=top><b class="l3heading"><a href="../stats.htm#css">CSS Mapping:</a></b><br></th>
    <td><span class="property"><a href="../../../css/properties/text/textdec.htm">text-decoration:</a></span> line-through</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#rnd">Default Rendering:</a></b><br></th>
    <td>Strike-through content</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#w3docs">Official Docs:</a></b><br></th>
    <td><a href="http://www.w3.org/TR/html401/struct/text.html#h-9.4">HTML 4.x</a>, 
        <a href="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_editmodule">XHTML 1.1</a></td></tr>
</table>
</td></tr>
</table>

<a name="what"></a>
<dl>
<dt><big><b class="mainheading">What is it?</b></big>
    <dd>The DEL element is one of two elements used (the other being
        <a href="../i/ins.htm">INS</a>) to allow revision control in
        HTML documents. The DEL element is nestable and can be used in
        conjunction with the INS element to indicate content and/or markup
        which has been deleted after the document's initial creation - it
        is not really eliminated from the document though. A date stamp
        is used to mark when the change was made and no destructive changes
        are ever made to the document. This is useful in areas such as the
        legal profession where historical change information is important.
        <br><br>

        HTML documents containing revision annotations will contain all
        content and markup ever applied to the document. Browsers that
        can interpret the DEL and INS elements could possibly display the
        &quot;current&quot; state of the document or display all content with
        common visual cues for inserted or deleted text. More advanced revision
        systems could allow for chronological snapshots of a document at any
        point in its history.
</dl>


<a name="attrib"></a>
<dl>
<dt><br><big><b class="mainheading">Common Attributes</b></big>
<dt><b class="subheading">%<a href="../attributes/core.htm">Core</a>%</b>
    <dd>[<span class="ns">2</span>|<b><i class="fs">3</i></b>|<span class="ns">3.2</span>|<b class="s">4</b>] 
        [<b class="s">X1</b>|<b class="s">X1.1</b>]
        [<b><i class="fs">IE4</i></b>|<span class="ns">M</span>|<b class="s">N6B1</b>|<b class="s">O4</b>]

<dt><b class="subheading">%<a href="../attributes/accessibility.htm">Accessibility</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<b><i class="fs">4</i></b>] 
        [<b class="s">X1</b>|<b class="s">X1.1</b>]
        [<b><i class="fs">IE4</i></b>|<span class="ns">M</span>|<b class="s">N6.1</b>|<b class="s">O5</b>]

<dt><b class="subheading">%<a href="../attributes/events.htm">Events</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<b><i class="fs">4</i></b>] 
        [<b class="s">X1</b>|<b class="s">X1.1</b>]
        [<b><i class="fs">IE4</i></b>|<span class="ns">M</span>|<b class="s">N6.1</b>|<b class="s">O4</b>]

<dt><b class="subheading">%<a href="../attributes/language.htm">Language</a>%</b>
    <dd>[<span class="ns">2</span>|<b><i class="fs">3</i></b>|<span class="ns">3.2</span>|<b class="s">4</b>] 
        [<b class="s">X1</b>|<b class="s">X1.1</b>]
        [<b><i class="fs">IE4</i></b>|<span class="ns">M</span>|<span class="ns">N</span>|<span class="ns">O</span>]

<dt><b class="subheading">%<a href="../attributes/editing.htm">Editing</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
        [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
        [<b><i class="fs">IE5.5</i></b>|<span class="ns">M</span>|<span class="ns">N</span>|<span class="ns">O</span>]

<dt><br><big><b class="mainheading">Specific Attributes</b></big>
<dt><b class="subheading">Cite</b>
<dt>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<b><i class="fs">4</i></b>] 
    [<b class="s">X1</b>|<b class="s">X1.1</b>]
    [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i class="fs">N6.1</i></b>|<span class="ns">O</span>]
    <dd><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b> In all HTML 4.x/XHTML DTDs
    <dd><b class="l3heading">Required?</b> No
    <dd><b class="l3heading">Description:</b><br>
        Indicates the URL citing the reason for the change in the document.
    <dd><b class="l3heading">Values:</b> <a href="../../../misc/glossary.htm#cdata">CDATA</a>.
        [Either an absolute or relative URL. All URLs should be <a
        href="../../topics/urlencoding.htm">URL encoded</a> where required.]

<dt><b class="subheading">Datetime</b>
<dt>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<b><i class="fs">4</i></b>] 
    [<b class="s">X1</b>|<b class="s">X1.1</b>]
    [<span class="ns">IE</span>|<span class="ns">M</span>|<b><i class="fs">N6.1</i></b>|<span class="ns">O</span>]
    <dd><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b> 
        In all HTML 4.x/XHTML DTDs
    <dd><b class="l3heading">Required?</b> No
    <dd><b class="l3heading">Description:</b><br>
        Indicates the date and time when the contents were deleted.
    <dd><b class="l3heading">Values:</b><br>
        <a href="../../../misc/glossary.htm#cdata">CDATA</a>. ISO Date format:<br>
        [<b class="alert">YYYY-MM-DDThh:mm:ssTZD</b> where:<br>
        &#160;&#160;&#160;YYYY = Four-digit year<br>
        &#160;&#160;&#160;MM&#160;&#160; = Two digit month (01-12)<br>
        &#160;&#160;&#160;DD&#160;&#160;&#160; = Two digit day of month (01-31)<br>
        &#160;&#160;&#160;hh&#160;&#160;&#160;&#160; = Two digit hour (00-23, no AM/PM designation is used)<br>
        &#160;&#160;&#160;mm&#160;&#160; = Two digit minutes (00-59)<br>
        &#160;&#160;&#160;ss&#160;&#160;&#160;&#160; = Two digit seconds (00-59)<br>
        &#160;&#160;&#160;TZD&#160; = Time zone designator]
</dl>


<a name="example"></a>
<dl>
<dt><big><b class="mainheading">Markup example and Tests</b></big>
    <dd><div class="example">&lt;<b class="tagname">del</b>
        <span class="tagattrib">cite</span>="#oct12-2002" 
        <span class="tagattrib">datetime</span>="2002-10-12T12:45:00PST"&gt;Deleted
        text&lt;/<b class="tagname">del</b>&gt;</div>
    <dd>
        <ul>
            <li><a href="../../../testing/html/tags/d/del-example.htm" class="testcase">Markup example</a>
            <li><a href="../../../testing/html/tags/d/del-element-render.htm" class="testcase">Basic element rendering test</a>
            <li><a href="../../../testing/html/tags/d/del-element-domhtml.htm" class="testcase">DOMHTML test</a>
            <li><a href="../../../testing/html/tags/d/del-element-domcss.htm" class="testcase">DOMCSS test</a>
        </ul>
</dl>


<a name="model"></a>
<dl>
<dt><big><b class="mainheading">Parent Model</b></big>
    <dd>&lt;<a href="../b/body.htm">body</a>&gt;
<dt><big><b class="mainheading">Content Model</b></big>
    <dd><b class="alert">%<a href="../shorthands.htm#inlinecontent">In-line Content</a>%</b> |
        <b class="alert">%<a href="../shorthands.htm#blockcontent">Block Content</a>%</b>
</dl>


<a name="tips"></a>
<big><b class="mainheading">Tips &amp; Tricks</b></big>
<ul>
    <li><b class="alert">Compatibility Tip:</b> Older browsers that
        do not understand the INS and DEL elements will display all revision
        content on-screen without regard to their revision state, even the
        &quot;deleted&quot; content. This could be messy. Recommend using this
        element only if you can reasonably guarantee that everyone in your audience
        has a browser supporting these elements.
    <li><b class="alert">DTD Note:</b> The current HTML 4.0 DTD lists INS/DEL
        as content only of the BODY element. In light of its potential use,
        this seems fairly limiting. I believe these elements should be
        usable at least as block level elements (such as BLOCKQUOTE.)
</ul>

<a name="peculiar"></a>
<big><b class="mainheading">Browser Peculiarities</b></big>
<ul>
     <li>IE, Mozilla/NS and Opera display deleted content with a strike-through line
         through the content (as if someone applied S or STRIKE to the same content.)
     <li>Internet Explorer 4+ and Opera 4+ do not expose the CITE or DATETIME attributes 
         to the reader. 
     <li>IE, Mozilla/NS and Opera do not offer by default any way to control views 
         of a document based on the state of revisions.
     <li><a href="../../../testing/html/tags/d/del-bp2.htm">[Test]</a>
         INS and DEL can be nested. Because the only visual difference is strike 
         and underline, only simple nesting will have any visual effect. Nesting 
         DEL within DEL, for example, will look no different from a single DEL 
         element occurrence. Nesting INS within DEL however will produce the 
         necessary feedback.
     <li><a href="../../../testing/html/tags/d/del-bp1.htm">[Test]</a>
         The CITE/DATETIME attributes are exposed in Netscape 6.1+ by invoking a 
         context menu on the element (PC: right clicking) and choosing "properties."
</ul>


<br>
<a href="../../../misc/copyright.htm">Boring Copyright Stuff...</a>

</BODY>
</HTML>
